<!DOCTYPE html>
<style>
#target {
    width: 1000px;
    height: 1000px;
    background-image: url(../resources/apple.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}
</style>
<div id="target"></div>
